//
//  KCChangePwCell.swift
//  MyKC
//
//  Created by yy on 2017/2/23.
//  Copyright © 2017年 com.yasuo. All rights reserved.
//

import UIKit

class KCChangePwCell: UITableViewCell {

    var pwCellBlock : ((_ row: NSInteger,_ name:String) -> ())?
    
    var row: NSInteger = 10
    @IBOutlet weak var lbe_title: UILabel!
    
    @IBOutlet weak var tf_password: UITextField!
    
    @objc func valueChange(sender: UITextField) {
        pwCellBlock?(row,tf_password.text ?? "")
    }
    override func awakeFromNib() {
        super.awakeFromNib()
        tf_password.addTarget(self, action: #selector(valueChange(sender:)), for: .editingChanged)
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
